<template>
    <div class="login">
        <img class="vp-back-img" src="../../assets/img/home/image.png" alt="">
        <div class="login-container">
            <div class="img-response login-logo">
                <img src="../../assets/img/home/LOGO.png" alt="">
            </div>
            <div class="login-title">
                艺墅家
            </div>
            <div class="login-input-list">
                <template v-for="(input,index) in forms">
                    <input-white
                            v-model="input.value"
                            :icon="input.icon"
                            :className="input.className"
                            :name="input.name"></input-white>
                </template>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name:'login',

        data() {
            return {
                forms:[
                    {
                        name:'input-phone',
                        value:'',
                        icon:'icon-zhuangxiuicon-3'
                    },
                    {
                        name:'input-msg',
                        value:'',
                        icon:'icon-zhuangxiuicon-2',
                        className:'input-little'
                    }
                ]
            }
        }
    }
</script>

<style lang="less" scoped>
    @import '../../plugins/assets/css/flex.less';
    .login-container{
        position: relative;
        z-index:9;
        width: 73vw;
        margin:0 auto;
        .login-logo{
            width: 45%;
            margin:0 auto;
            margin-top:8vw;
        }
        .login-title{
            font-size:34px;
            color: #030303;
            letter-spacing: 16.77px;
            text-align: center;
            margin-top:8vw;
        }
        .login-input-list{
            margin-top:8vw;
        }
    }
</style>